package sk.marek.barak.client;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface ComentServiceAsync {

	void addComent(String text,String thoughtId, AsyncCallback<Coment> callback);

	void getThoughtComents(String thoughtID,
			AsyncCallback<List<Coment>> callback);

	void removeComent(String key, AsyncCallback<Void> callback);

	void removeThoughtComents(String thoughtID, AsyncCallback<Void> callback);

}
